home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / pyshared / jockey / kdeui / ui_LicenseDialog.py next >
Encoding:
Python Source  |  2009-04-07  |  4.7 KB  |  61 lines

  1. #!/usr/bin/env python
  2. # coding=UTF-8
  3. #
  4. # Generated by pykdeuic4 from kde/LicenseDialog.ui on Tue Apr  7 16:49:10 2009
  5. #
  6. # WARNING! All changes to this file will be lost.
  7. from PyKDE4 import kdecore
  8. from PyKDE4 import kdeui
  9. from PyQt4 import QtCore, QtGui
  10.  
  11. class Ui_dialog_licensetext(object):
  12.     def setupUi(self, dialog_licensetext):
  13.         dialog_licensetext.setObjectName("dialog_licensetext")
  14.         dialog_licensetext.setEnabled(True)
  15.         dialog_licensetext.resize(427, 383)
  16.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
  17.         sizePolicy.setHorizontalStretch(0)
  18.         sizePolicy.setVerticalStretch(0)
  19.         sizePolicy.setHeightForWidth(dialog_licensetext.sizePolicy().hasHeightForWidth())
  20.         dialog_licensetext.setSizePolicy(sizePolicy)
  21.         dialog_licensetext.setMinimumSize(QtCore.QSize(322, 272))
  22.         dialog_licensetext.setMaximumSize(QtCore.QSize(160000, 160000))
  23.         self.gridLayout = QtGui.QGridLayout(dialog_licensetext)
  24.         self.gridLayout.setObjectName("gridLayout")
  25.         self.horizontalLayout = QtGui.QHBoxLayout()
  26.         self.horizontalLayout.setObjectName("horizontalLayout")
  27.         self.label_license_drivername = QtGui.QLabel(dialog_licensetext)
  28.         self.label_license_drivername.setObjectName("label_license_drivername")
  29.         self.horizontalLayout.addWidget(self.label_license_drivername)
  30.         spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
  31.         self.horizontalLayout.addItem(spacerItem)
  32.         self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
  33.         self.textview_license_text = QtGui.QTextBrowser(dialog_licensetext)
  34.         self.textview_license_text.setEnabled(True)
  35.         self.textview_license_text.setObjectName("textview_license_text")
  36.         self.gridLayout.addWidget(self.textview_license_text, 1, 0, 1, 1)
  37.         self.buttonBox = QtGui.QDialogButtonBox(dialog_licensetext)
  38.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
  39.         self.buttonBox.setCenterButtons(True)
  40.         self.buttonBox.setObjectName("buttonBox")
  41.         self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
  42.  
  43.         self.retranslateUi(dialog_licensetext)
  44.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("clicked(QAbstractButton*)"), dialog_licensetext.accept)
  45.         QtCore.QMetaObject.connectSlotsByName(dialog_licensetext)
  46.  
  47.     def retranslateUi(self, dialog_licensetext):
  48.         dialog_licensetext.setWindowTitle(kdecore.i18n("Dialog"))
  49.         self.label_license_drivername.setText(kdecore.i18n("(driver name)"))
  50.         self.textview_license_text.setHtml(kdecore.i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
  51. "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  52. "p, li { white-space: pre-wrap; }\n"
  53. "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
  54. "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\">Jockey is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>\n"
  55. "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\"></p>\n"
  56. "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\">Jockey is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.</p>\n"
  57. "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\"></p>\n"
  58. "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\">You should have received a copy of the GNU General Public License along with Jockey; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>\n"
  59. "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:10pt;\"></p></body></html>"))
  60.  
  61.